package cn.it.pojo;

import java.io.Serializable;

public class Company implements Serializable {
    private Integer id;//主键
    private String address;//公司地址
    private Double longitude;// 经度
    private Double latitude;//维度

    public Company() {
    }

    public Company(Integer id, String address, Double longitude, Double latitude) {
        this.id = id;
        this.address = address;
        this.longitude = longitude;
        this.latitude = latitude;
    }

    /**
     * 获取
     *
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     *
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     *
     * @return address
     */
    public String getAddress() {
        return address;
    }

    /**
     * 设置
     *
     * @param address
     */
    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * 获取
     *
     * @return longitude
     */
    public Double getLongitude() {
        return longitude;
    }

    /**
     * 设置
     *
     * @param longitude
     */
    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    /**
     * 获取
     *
     * @return latitude
     */
    public Double getLatitude() {
        return latitude;
    }

    /**
     * 设置
     *
     * @param latitude
     */
    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    @Override
    public String toString() {
        return "Company{id = " + id + ", address = " + address + ", longitude = " + longitude + ", latitude = " + latitude + "}";
    }
}
